package com.czg.designmode.factory.abstracts;

/**
 * 性别枚举类
 *
 * @author chenzhigang
 */

@SuppressWarnings("AlibabaEnumConstantsMustHaveComment")
public enum SexEnum {
    man(1, "男"),
    women(2, "女"),
    ;
    private Integer code;

    private String desc;

    SexEnum() {
    }

    SexEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
